package com.shop.controller;


import com.shop.common.result.util.ResultModel;
import com.shop.service.BaseOrderService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 订单表 前端控制器
 * </p>
 *
 * @author 靳 旺
 * @since 2021-01-29
 */
@RestController
@Api(tags = "订单前端控制器")
@RequestMapping("/baseOrder")
public class BaseOrderController {

    @Autowired
    private BaseOrderService baseOrderService;

    @PostMapping("censusClientBaseOrder")
    @ApiOperation(value = "统计客户订单基础信息",notes = "靳旺")
    public ResultModel censusClientBaseOrder()throws Exception {
        return baseOrderService.censusClientBaseOrder();
    }





}
